package com.xsomnus.spring_framework.pojo.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

/**
 * @author @xsomnus666_xiawenye★
 * @since 2019/7/26 0026 13:35
 * - 才需学也,学需静也/非淡泊无以明志，非宁静无以致远
 */
public enum AccountDirection implements IEnum<Short> {
    IN((short) 1),
    OUT((short) 2);

    private final short code;

    AccountDirection(short code) {
        this.code = code;
    }

    @Override
    public Short getValue() {
        return code;
    }
}
